﻿import { Injectable }       from '@angular/core';
import { AjaxService }      from "../../../tools/serivce/ajax/ajax.service";

@Injectable()
export class Factory{
    constructor(private Ajax:AjaxService) {}
    getService(){
        return this.Ajax.getJson([
                        {
                            name:"getCases",
                            url:"app/cases",
                            methed:"get",
                        },
                        {
                            name:"testPost",
                            url:"app/feedbacks",
                            methed:"post",
                        }
                    ]);
    }

}